package cn.lanqiao.serviceimpl;

import cn.lanqiao.service.HistoryService;

public class HistoryServiceImpl implements HistoryService {
	private cn.lanqiao.dao.HistoryDao dao = new cn.lanqiao.daoimpl.HistoryDaoImpl();
	@Override
	public Object[][] getHistory(String userId) {	//通过用户id调用数据层获取用户历史战绩，返回一个二维数组
		return dao.getHistoryCombatByUserid(userId);
	}
}
